package com.easylinkin.linkappapi.alarm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.alarm.entity.AlarmPersonContact;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlarmPersonContactMapper extends BaseMapper<AlarmPersonContact> {

    IPage<AlarmPersonContact> getAlarmPersonContacts(@Param("page") Page page, @Param("alarmPersonContact") AlarmPersonContact alarmPersonContact);

    List<AlarmPersonContact> getAlarmPersonContacts(@Param("alarmPersonContact") AlarmPersonContact alarmPersonContact);

}
